import request from '@/utils/request'

//查询药品订单
export function listMedicineOrder(val) {
    return request({
        url: '/med-admin-user/order/list',
        method: 'get',
        params: val
    })
}

//查询商品订单
export function listGoodsOrder(val) {
    return request({
        url: '/med-admin-user/order/goodslist',
        method: 'get',
        params: val
    })
}

//查询药品订单详情
export function getMedicineOrderDetail(medicineOrderId) {
    return request({
        url: '/med-admin-user/order/mdetail',
        method: 'get',
        params: { medicineOrderId }
    })
}

//查询商品订单详情
export function getGoodsOrderDetail(goodsOrderId) {
    return request({
        url: '/med-admin-user/order/gdetail',
        method: 'get',
        params: { goodsOrderId }
    })
}


